<template>
  <view class="content">
    <image class="logo" src="/static/logo.png" />
    <view class="text-area">
      <text class="title">{{ title }} , {{ state.name }}</text>
      <view style="padding: 20rpx">
        <input
          v-model="state.name"
          placeholder=""
          placeholder-class="input-placeholder"
          @input=""
        />
      </view>
      <button open-type="contact" :session-from="state.name">联系客服</button>
    </view>
  </view>
</template>

<script setup lang="ts">
import { ref, reactive } from "vue";
const title = ref("Hello");
let state = reactive({
  name: "vue3",
});
</script>

<style>
.content {
  display: block;
  padding: 20rpx;
  text-align: center;
}

.logo {
  height: 200rpx;
  width: 200rpx;
  margin-top: 200rpx;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50rpx;
}

.text-area {
  display: block;
}

.title {
  font-size: 36rpx;
  color: #8f8f94;
}
</style>
